from __future__ import absolute_import

from forest.registry import register_tool
from forest.tools.system.execute import spoll   

@register_tool('files.find')
def find(path, options='', tests='', actions=''):
    '''just a call to find, but getting the results lazily'''
    return spoll(['find', path, options, tests, actions], shell=True)

